package com.ruoyi.ziran.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库选项对象 zr_question_bank_item
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class ZrQuestionBankItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 题目id */
    @Excel(name = "题目id")
    private Long questionId;

    /** 选项 */
    @Excel(name = "选项")
    private String selectStr;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String itemTitle;

    /** 文件或图片 */
    @Excel(name = "文件或图片")
    private String files;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }

    public void setSelectStr(String selectStr) 
    {
        this.selectStr = selectStr;
    }

    public String getSelectStr() 
    {
        return selectStr;
    }

    public void setItemTitle(String itemTitle) 
    {
        this.itemTitle = itemTitle;
    }

    public String getItemTitle() 
    {
        return itemTitle;
    }

    public void setFiles(String files) 
    {
        this.files = files;
    }

    public String getFiles() 
    {
        return files;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("selectStr", getSelectStr())
            .append("itemTitle", getItemTitle())
            .append("files", getFiles())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
